//
//  XUITableViewCell.h
//  Etion
//
//  Created by  user on 11-3-17.
//  Copyright 2011 GuangZhouXuanWu. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "UIViewExtend.h"

@interface XUITableViewCell : UITableViewCell<UIViewExtendDelegate>

@property(nonatomic,assign) BOOL hiddenFollowSeparateLine;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier;

- (id)initWithReuseIdentifier:(NSString *)reuseIdentifier;

- (void)layoutSubViewsBlock:(void(^)(UIView *contentView))block;

@end

@protocol XUITableViewCellMenuDelegate <NSObject>

-(NSArray*)menuItem;

-(CGRect)menuFrame;

@end

@interface XUITableViewCell (Menu)<XUITableViewCellMenuDelegate>

@end

@interface XUITableViewCell (ActivityIndicatorView)

-(void)addActivityIndicatorViewInParentView:(UIView*)view;

-(void)startActivityIndicator;

-(void)stopActivityIndicator;

@end